select 
	{reprint == $补打$:
		$
			cast(id as varchar)+ '(票据补打)'			        	
		$,
	 reprint == $正常$:	
		$
		id
		$,
        $$
	} id,
	{ entity.findDialect() == $SqlServer$: $CONVERT(varchar(100),GETDATE(),23)$,$TO_CHAR(TO_DATE(SYSDATE, 'yyyy-mm-dd')$} newdata,
	f_user_name,
	f_user_type,
	f_address,
	f_collection,
	[dbo].[f_num_chn](f_collection) f_daxie, 		--大写金额合计
  	f_payment,
	f_operator
 from t_sellinggas 
 where id = '{id}'